package com.training.action.xixiaoming;

import com.training.service.xixiaoming.motorService;

public class deleMotorAction {
	private motorService motorser;
	private String motorId;
	
	public String execute(){
		System.out.println("deleMotorAction");
		motorser.deleMotor(Integer.parseInt(motorId));
		return "success";
	}

	public motorService getMotorser() {
		return motorser;
	}

	public void setMotorser(motorService motorser) {
		this.motorser = motorser;
	}

	public String getMotorId() {
		return motorId;
	}

	public void setMotorId(String motorId) {
		this.motorId = motorId;
	}
}
